﻿using SqlSugar;
using System;

namespace LiuQiuRong.Chat.Infrastructures.DataStore
{
    /// <summary>
    /// 数据存储器接口
    /// </summary>
    public partial interface IDataAccessor : IDisposable
    {
        /// <summary>
        /// 数据库操作上下文
        /// </summary>
        ISqlSugarClient DbContext { get; set; }

        /// <summary>
        /// 数据库连接起始点，标记作用，智能判断何时开启/关闭数据库连接
        /// </summary>
        string StartPoint { get; set; }
    }
}
